﻿using System;

using csToolkit.Data.BindingLists;
/// <summary>
/// Summary description for MikeKappel
/// </summary>
namespace csToolkit.Data
{
    [Serializable]
    public class Bindable 
    {
        /// <summary>
        /// Http Status Codes
        /// </summary>
        /// <returns>Bindable Status Codes</returns>
        public StatusCodeBindingList StatusCodes()
        {
            return statusCodes;
        } 
        private StatusCodeBindingList statusCodes = new StatusCodeBindingList();

        /// <summary>
        /// Count 100 To 2000 Step 100
        /// </summary>
        /// <returns>Count 100 To 2000 Step 100</returns>
        public StepBindingList Count100To2000Step100()
        {
            if (count100To2000Step100 == null) count100To2000Step100 = new StepBindingList(100, 2000, 100);
            return count100To2000Step100;
        }
        private StepBindingList count100To2000Step100;
        /// <summary>
        /// Count 1000 To 10000 Step 500
        /// </summary>
        /// <returns>Count 1000 To 10000 Step 500</returns>
        public StepBindingList Count1000To10000Step500()
        {
            if (count1000To10000Step500 == null) count1000To10000Step500 = new StepBindingList(1000, 10000, 500);
            return count1000To10000Step500;
        }
        private StepBindingList count1000To10000Step500;
    }
}
